﻿using System;
using ProtoBuf;
using ZyGames.Framework.Common;
using ZyGames.Framework.Collection;
using ZyGames.Framework.Model;

namespace ZyGames.DZPocker.Model
{
	/// <summary>
	/// 时间等级以及相关消费配置表
	/// </summary>
	[Serializable, ProtoContract]
	[EntityTable(AccessLevel.ReadOnly, DbConfig.Config)]
	public class TimeLevelCostsInfo : ShareEntity
	{

		/// <summary>
		/// </summary>
		public TimeLevelCostsInfo()
			: base(true)
		{

		}

		/// <summary>
		/// ID
		/// </summary>        
		[ProtoMember(1)]
		[EntityField(true)]
		public int Id { get; set; }

		/// <summary>
		/// 等级
		/// </summary>        
		[ProtoMember(2)]
		[EntityField]
		public int TimeLevel { get; set; }

		/// <summary>
		/// 时间
		/// </summary>        
		[ProtoMember(3)]
		[EntityField]
		public int TimeValue { get; set; }

		/// <summary>
		/// 对应等级的消费
		/// </summary>        
		[ProtoMember(4)]
		[EntityField]
		public int TimeCosts { get; set; }
	}
}
